curl --request GET \
--url https://sandbox.dollarpe.xyz/cms/api/v1/bank/{customer_id}/{bank_id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>'{
"status": true,
"message": "Success",
"data": {
"id": "4e6f1b20-a73c-11ec-b909-0242ac120002",
"customer_id": "550e8400-e29b-41d4-a716-446655440000",
"account_number": "123456789012",
"ifsc": "ABC123456",
"account_name": "Sandbox Technologies Pvt Ltd",
"vpa": "testing@upi",
"bank_account_type": "ACCOUNT_DETAILS",
"bank_account_status": "VERIFIED",
"failure_reason": "null"
}
}Fetch details of a specific bank account
curl --request GET \
--url https://sandbox.dollarpe.xyz/cms/api/v1/bank/{customer_id}/{bank_id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>'{
"status": true,
"message": "Success",
"data": {
"id": "4e6f1b20-a73c-11ec-b909-0242ac120002",
"customer_id": "550e8400-e29b-41d4-a716-446655440000",
"account_number": "123456789012",
"ifsc": "ABC123456",
"account_name": "Sandbox Technologies Pvt Ltd",
"vpa": "testing@upi",
"bank_account_type": "ACCOUNT_DETAILS",
"bank_account_status": "VERIFIED",
"failure_reason": "null"
}
}| API Status Code | Response | Reason |
|---|---|---|
| 400 | Customer not found or access denied | Customer not found |
| 400 | Customer not found or access denied | Customer does not belong to the organization |
| 400 | Bank not found or access denied | Bank not found |
| 400 | Bank not found or access denied | Bank does not belong to the Customer |
| 500 | Internal Server Error. | Internal Server Error |
API Key for authentication
Current timestamp in seconds since epoch
HMAC SHA256 signature of the request encoded in Base64
Customer's unique identifier
Bank account's unique identifier